#pragma once
#include "CUtilities.h"

struct Force
{
	FORCETYPE Type;
	void *data;

	Force(FORCETYPE Type, void *data)
	{
		this->Type = Type;
		this->data = data;
	}
};

class CPhysicsObject
{
	D3DXMATRIX m_matRotation;
	D3DXVECTOR3 m_vecPosition;
	D3DXVECTOR3 m_vecVelocity;
	double m_dMass;

	vector<Force> m_vForces;

public:
	CPhysicsObject(void);
	virtual ~CPhysicsObject(void);

	void AddForce(FORCETYPE Type, void *Data)
	{
		this->m_vForces.push_back(Force(Type, Data));
	}
};